package win.itshen.cloud.shiro.modules.admin.entity.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * @author: stephen.shen
 * @create: 2019-05-22 19:14
 */
public enum UserStatus implements IEnum<Integer> {
    // 无效
    INVALID(0,"无效"),
    // 有效
    VALID(1,"有效");

    private int value;
    private String desc;

    UserStatus(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return null;
    }
}
